package com.aidong.stadium.entity;

import java.io.Serializable;
import java.text.DecimalFormat;
import java.util.List;
import java.util.Map;

import com.aidong.util.ReadPropertiesUtil;

public class MstConclusionabout implements Serializable {
	private static final long serialVersionUID = 1010197176335808345L;

	private String chName;
	private String duction;
	private String picUrl;
	private int subFlg;
	private int courseId;
	private double price;
	private String storeName;
	private String address;
	private int storeId;
	private String coachName;
	private String coachEnName;
	private String coachUrl;
	private String gender;
	private int idongId;
	private String classRoom;
	private String startTime;
	private String endTime;
	private int allowPerson;
	
	private int aheadSchedule;
	private String classTime;
	
	private String earlyDate;
	private String earlyEndDate;
	// 额外字段
	private int attionStatus;
	private int alreadyPerson;
	
	private String coordinate;
	
	private List<Map<String, Object>> applyPerson;
	
	private int vote=0;

	public String getChName() {
		return chName;
	}

	public void setChName(String chName) {
		this.chName = chName;
	}

	public String getDuction() {
		return duction;
	}

	public void setDuction(String duction) {
		this.duction = duction;
	}

	public String getPicUrl() {
		return ReadPropertiesUtil.getIMGREAD(picUrl);
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public int getSubFlg() {
		return subFlg;
	}

	public void setSubFlg(int subFlg) {
		this.subFlg = subFlg;
	}

	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public String getPrice() {
		if(price==0){
			return "0";
		}
		return  new DecimalFormat("#0.00").format(price);
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getStoreId() {
		return storeId;
	}

	public void setStoreId(int storeId) {
		this.storeId = storeId;
	}

	public String getCoachName() {
		return coachName;
	}

	public void setCoachName(String coachName) {
		this.coachName = coachName;
	}

	public String getCoachEnName() {
		return coachEnName;
	}

	public void setCoachEnName(String coachEnName) {
		this.coachEnName = coachEnName;
	}

	public String getCoachUrl() {
		return ReadPropertiesUtil.getIMGREAD(coachUrl);
	}

	public void setCoachUrl(String coachUrl) {
		this.coachUrl = coachUrl;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public int getIdongId() {
		return idongId;
	}

	public void setIdongId(int idongId) {
		this.idongId = idongId;
	}

	public String getClassRoom() {
		return classRoom;
	}

	public void setClassRoom(String classRoom) {
		this.classRoom = classRoom;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getAllowPerson() {
		return allowPerson;
	}

	public void setAllowPerson(int allowPerson) {
		this.allowPerson = allowPerson;
	}

	public int getAttionStatus() {
		return attionStatus;
	}

	public void setAttionStatus(int attionStatus) {
		this.attionStatus = attionStatus;
	}

	public List<Map<String, Object>> getApplyPerson() {
		return applyPerson;
	}

	public void setApplyPerson(List<Map<String, Object>> applyPerson) {
		this.applyPerson = applyPerson;
	}

	public int getAlreadyPerson() {
		return alreadyPerson;
	}

	public void setAlreadyPerson(int alreadyPerson) {
		this.alreadyPerson = alreadyPerson;
	}

	public String getClassTime() {
		return classTime;
	}

	public void setClassTime(String classTime) {
		this.classTime = classTime;
	}

	public int getAheadSchedule() {
		return aheadSchedule;
	}

	public void setAheadSchedule(int aheadSchedule) {
		this.aheadSchedule = aheadSchedule;
	}

	public String getEarlyDate() {
		return earlyDate;
	}

	public void setEarlyDate(String earlyDate) {
		this.earlyDate = earlyDate;
	}

	public int getVote() {
		return vote;
	}

	public void setVote(int vote) {
		this.vote = vote;
	}

	public String getCoordinate() {
		return coordinate;
	}

	public void setCoordinate(String coordinate) {
		this.coordinate = coordinate;
	}

	public String getEarlyEndDate() {
		return earlyEndDate;
	}

	public void setEarlyEndDate(String earlyEndDate) {
		this.earlyEndDate = earlyEndDate;
	}
}
